<?php
if(!isset($NsMode))
	exit( "this is a error link" );
include_once 'inc.php';	


?>


<div>
	<ul class="TabBarLevel1" id="<?php echo $tName ?>TabPage">
		<?php $i=0;foreach ($this->cfg['language'] as $key => $value) { ?>	
		<li id="<?php echo "{$tName}Tab{$i}" ?>">
			<a href="#" onclick="javascript:switchTab('<?php echo $tName ?>TabPage','<?php echo "{$tName}Tab{$i}" ?>');"><?php echo $value?></a></li>
		
		<?php $i++;} ?>
	</ul>
	<div id="cnt<?php echo $tName ?>TabPage">
	<?php $i=0;foreach ($this->cfg['language'] as $key => $value) { ?>
		<div id="<?php echo "d{$tName}Tab{$i}" ?>" class="HackBox">哈哈哈哈1</div>	
		
		
	<?php $i++;} ?>
	
	</div>
</div>
<script>
switchTab('<?php echo $tName ?>TabPage','<?php echo $tName ?>Tab1');
</script>
